/**
 * 
 */
package co.edu.udem.domain;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @since 17/07/2012
 */
@Entity
@Table(name = "USERSUBJECT")
public class UserSubject implements Serializable {

  /** */
  private static final long serialVersionUID = -3432527167617585793L;
  
  @Id
  @Column(name = "SUBJECTCODE")
  private String subjectCode;

  @Id
  @Column(name = "USERCODE")
  private String userCode;

  @Id
  @Column(name = "USERTYPE")
  private int userType;
  
  @Column(name = "GRADE1")
  private Float grade1;
  
  @Column(name = "GRADE2")
  private Float grade2;
  
  @Column(name = "GRADE3")
  private Float grade3;
  
  @Column(name = "GRADE4")
  private Float grade4;
  
  @Column(name = "FINALGRADE")
  private Float finalGrade;
  
  @Column(name = "DEFINITIVEGRADE")
  private Float definitiveGrade;
  
  /**
   * @return the subjectCode
   */
  public String getSubjectCode() {
    return subjectCode;
  }

  /**
   * @param subjectCode the subjectCode to set
   */
  public void setSubjectCode(String subjectCode) {
    this.subjectCode = subjectCode;
  }

  /**
   * @return the userCode
   */
  public String getUserCode() {
    return userCode;
  }

  /**
   * @param userCode the userCode to set
   */
  public void setUserCode(String userCode) {
    this.userCode = userCode;
  }

  /**
   * @return the userType
   */
  public int getUserType() {
    return userType;
  }

  /**
   * @param userType the userType to set
   */
  public void setUserType(int userType) {
    this.userType = userType;
  }

  /**
   * @return the grade1
   */
  public Float getGrade1() {
    return grade1;
  }

  /**
   * @param grade1 the grade1 to set
   */
  public void setGrade1(Float grade1) {
    this.grade1 = grade1;
  }

  /**
   * @return the grade2
   */
  public Float getGrade2() {
    return grade2;
  }

  /**
   * @param grade2 the grade2 to set
   */
  public void setGrade2(Float grade2) {
    this.grade2 = grade2;
  }

  /**
   * @return the grade3
   */
  public Float getGrade3() {
    return grade3;
  }

  /**
   * @param grade3 the grade3 to set
   */
  public void setGrade3(Float grade3) {
    this.grade3 = grade3;
  }

  /**
   * @return the grade4
   */
  public Float getGrade4() {
    return grade4;
  }

  /**
   * @param grade4 the grade4 to set
   */
  public void setGrade4(Float grade4) {
    this.grade4 = grade4;
  }

  /**
   * @return the finalGrade
   */
  public Float getFinalGrade() {
    return finalGrade;
  }

  /**
   * @param finalGrade the finalGrade to set
   */
  public void setFinalGrade(Float finalGrade) {
    this.finalGrade = finalGrade;
  }

  /**
   * @return the definitiveGrade
   */
  public Float getDefinitiveGrade() {
    return definitiveGrade;
  }

  /**
   * @param definitiveGrade the definitiveGrade to set
   */
  public void setDefinitiveGrade(Float definitiveGrade) {
    this.definitiveGrade = definitiveGrade;
  }
}
